xen/arm: smccc-1.1: Make return values unsigned long
authorMarc Zyngier <marc.zyngier@arm.com>
Tue, 25 Sep 2018 17:20:38 +0000 (18:20 +0100)
committerStefano Stabellini <sstabellini@kernel.org>
Fri, 25 Jan 2019 22:19:55 +0000 (14:19 -0800)
commitad8875c8a7b55f4e7b5641ca4a7312b78bcf4c91
treed7aebc619d732755c2100a73dd1868769f1978d6
parent96cbd0893f783997caaf117e897d5fa8f2dc7b5f
xen/arm: smccc-1.1: Make return values unsigned long

An unfortunate consequence of having a strong typing for the input
values to the SMC call is that it also affects the type of the
return values, limiting r0 to 32 bits and r{1,2,3} to whatever
was passed as an input.

Let's turn everything into "unsigned long", which satisfies the
requirements of both architectures, and allows for the full
range of return values.

Reported-by: Stefano Stabellini <stefanos@xilinx.com>
Signed-off-by: Marc Zyngier <marc.zyngier@arm.com>
Signed-off-by: Julien Grall <julien.grall@arm.com>
Reviewed-by: Volodymyr Babchuk <volodymyr_babchuk@epam.com>
Reviewed-by: Stefano Stabellini <sstabellini@kernel.org>
(cherry picked from commit 35fc6086124ffe27d297801616e7ac6dc344040b)
xen/include/asm-arm/smccc.h